<%-- 
    Document   : menu
    Created on : 7.5.2009, 14:36:17
    Author     : Ediczech
--%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<h2><h:outputText value="#{msg.menu_title}"/></h2>

<h:outputLink value="/bugman-war/faces/index.jsp">
    <h:outputText value="#{msg.index_button}" />
</h:outputLink>
<br/>
<h:outputLink value="/bugman-war/faces/registerUser.jsp">
    <h:outputText value="#{msg.registerUser_button}" />
</h:outputLink>
<br/>
<h:outputLink value="/bugman-war/faces/reportBug.jsp">
    <h:outputText value="#{msg.reportBug_button}" />
</h:outputLink>
<br/>

<h:panelGroup rendered="#{ApplicationBean.isDeveloper}">
    <h3><h:outputText value="#{msg.menu_developer}" /></h3>

    <h:outputLink value="/bugman-war/faces/createProject.jsp">
        <h:outputText value="#{msg.createProject_button}" />
    </h:outputLink>
    <br/>
</h:panelGroup>

<h:panelGroup rendered="#{ApplicationBean.isAdmin}">
    <h3><h:outputText value="#{msg.menu_admin}" /></h3>
    <h:outputLink value="/bugman-war/faces/admin/promoteUsers.jsp">
        <h:outputText value="#{msg.promoteUsers_button}" />
    </h:outputLink>
    <br/>
</h:panelGroup>
